package com.xcb.spring.util;

public class BeanUtil {
    public static String parseBeanName(Class clazz) {
        String className = clazz.getSimpleName();
        String substring = className.substring(0, 1);
        return substring.toLowerCase()+className.substring(1);
    }

    public static void main(String[] args) {
        System.out.println(parseBeanName(BeanUtil.class));
    }
}
